/**
 * Created by Nealyang on 17/2/24.
 */
const express = require('express');
const router = express.Router();
const Login = require('../../controller/login');

router.get('/',function (req,res) {
    res.render('login');
});

router.post('/', function (req,res,next) {
    Login.login(req,res,next);
})

module.exports = router;
